namespace G1.EngineV
{

    using System;
    using System.Collections.Generic;

    using Android.Graphics;

    public class TouchPath
    {

        private List<Point> _Path;

        public TouchPath()
        {
            this._Path = new List<Point>();
        }

        public void Add( int X, int Y )
        {
            this._Path.Add( new Point( X, Y ) );
        }

        public Point GetFirst()
        {
            if ( _Path.Count > 0 )
                return _Path[0];

            return null;
        }

        public Point GetLast()
        {
            if ( _Path.Count > 0 )
                return _Path[_Path.Count - 1];

            return null;
        }

    }
}